package com.survey.dao.mapper;

import com.survey.pojo.data.QuestionBodyDO;
import com.survey.pojo.vo.QuestionBodyVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/** 
 * <br/>
 * Created by jj on 2018/08/04
 */
@Repository
public interface QuestionBodyMapper {

    Integer addQuestionBody(QuestionBodyVO questionBodyVO);

    Integer updateQuestionBody(QuestionBodyVO questionBodyVO);

    QuestionBodyDO findDetailQuestionBody(QuestionBodyVO questionBodyVO);

    List<QuestionBodyDO> listQuestionBody(QuestionBodyVO questionBodyVO);

    List<QuestionBodyDO> listQuestionBodyPage(QuestionBodyVO questionBodyVO);

    Integer countQuestionBody(QuestionBodyVO questionBodyVO);

    Integer deleteQuestionBody(QuestionBodyVO questionBodyVO);

}
